singleton pattern
https://plantuml-proxy.vercel.app/svg/https://scrapbox.io/api/code/suto3/singleton_pattern/singleton.uml#.svg
code:singleton.uml
@startuml
title Singleton
class Singleton {
- {static} instance : Singleton
--
- Singleton()
+ {static} getInstance() : Singleton
}
@enduml